home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
usenet
/
sources
/
volume91
/
graphics
/
gr
/
part01
/
menu.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-08-31
|
5KB
|
203 lines
/*
* This File was created by
*
* "MenuC" The Menu Compiler. V0.8
*
* written by Bruce Mackey. (c) 1990,1991
*
*/
#include <intuition/intuition.h>
/********** Start Misc Menu **********/
struct IntuiText _Grey_Map__item_text = {
0,1, /* FrontPen, BackPen */
0, /* DrawMode(jam1) */
2,2, /* LeftEdge,TopEdge */
NULL, /* ITextFont */
" Grey Map ", /* IText */
NULL, /* NextText */
};
struct MenuItem _Grey_Map__item = {
NULL, /* Next Item */
2,20,150,10, /* LeftEdge,TopEdge,Width,Height */
ITEMENABLED|HIGHCOMP|ITEMTEXT|COMMSEQ, /* Flags */
NULL, /* MutualExclude */
(APTR)&_Grey_Map__item_text, /* ItemFill */
NULL, /* SelectFill */
0x47, /* Command */
NULL, /* SubItem */
NULL /* NextSelect */
};
struct IntuiText _Color_Map_item_text = {
0,1, /* FrontPen, BackPen */
0, /* DrawMode(jam1) */
2,2, /* LeftEdge,TopEdge */
NULL, /* ITextFont */
" Color Map", /* IText */
NULL, /* NextText */
};
struct MenuItem _Color_Map_item = {
&_Grey_Map__item, /* Next Item */
2,10,150,10, /* LeftEdge,TopEdge,Width,Height */
ITEMENABLED|HIGHCOMP|ITEMTEXT|COMMSEQ, /* Flags */
NULL, /* MutualExclude */
(APTR)&_Color_Map_item_text, /* ItemFill */
NULL, /* SelectFill */
0x43, /* Command */
NULL, /* SubItem */
NULL /* NextSelect */
};
struct IntuiText _Draw______item_text = {
0,1, /* FrontPen, BackPen */
0, /* DrawMode(jam1) */
2,2, /* LeftEdge,TopEdge */
NULL, /* ITextFont */
" Draw ", /* IText */
NULL, /* NextText */
};
struct MenuItem _Draw______item = {
&_Color_Map_item, /* Next Item */
2,0,150,10, /* LeftEdge,TopEdge,Width,Height */
ITEMENABLED|HIGHCOMP|ITEMTEXT|COMMSEQ, /* Flags */
NULL, /* MutualExclude */
(APTR)&_Draw______item_text, /* ItemFill */
NULL, /* SelectFill */
0x44, /* Command */
NULL, /* SubItem */
NULL /* NextSelect */
};
struct Menu _Misc_menu = {
NULL, /* Next Menu */
76,0,49,11, /* LeftEdge,TopEdge,Width,Height */
MENUENABLED, /* Flags */
" Misc", /* MenuName */
&_Draw______item /*FirstItem */
};
/********** End Misc Menu **********/
/********** Start Project Menu **********/
struct IntuiText _Quit____item_text = {
0,1, /* FrontPen, BackPen */
0, /* DrawMode(jam1) */
2,2, /* LeftEdge,TopEdge */
NULL, /* ITextFont */
" Quit ", /* IText */
NULL, /* NextText */
};
struct MenuItem _Quit____item = {
NULL, /* Next Item */
2,40,132,10, /* LeftEdge,TopEdge,Width,Height */
ITEMENABLED|HIGHCOMP|ITEMTEXT|COMMSEQ, /* Flags */
NULL, /* MutualExclude */
(APTR)&_Quit____item_text, /* ItemFill */
NULL, /* SelectFill */
0x51, /* Command */
NULL, /* SubItem */
NULL /* NextSelect */
};
struct IntuiText _Run_____item_text = {
0,1, /* FrontPen, BackPen */
0, /* DrawMode(jam1) */
2,2, /* LeftEdge,TopEdge */
NULL, /* ITextFont */
" Run ", /* IText */
NULL, /* NextText */
};
struct MenuItem _Run_____item = {
&_Quit____item, /* Next Item */
2,30,132,10, /* LeftEdge,TopEdge,Width,Height */
ITEMENABLED|HIGHCOMP|ITEMTEXT|COMMSEQ, /* Flags */
NULL, /* MutualExclude */
(APTR)&_Run_____item_text, /* ItemFill */
NULL, /* SelectFill */
0x52, /* Command */
NULL, /* SubItem */
NULL /* NextSelect */
};
struct IntuiText _SaveAs__item_text = {
0,1, /* FrontPen, BackPen */
0, /* DrawMode(jam1) */
2,2, /* LeftEdge,TopEdge */
NULL, /* ITextFont */
" SaveAs ", /* IText */
NULL, /* NextText */
};
struct MenuItem _SaveAs__item = {
&_Run_____item, /* Next Item */
2,20,132,10, /* LeftEdge,TopEdge,Width,Height */
ITEMENABLED|HIGHCOMP|ITEMTEXT|COMMSEQ, /* Flags */
NULL, /* MutualExclude */
(APTR)&_SaveAs__item_text, /* ItemFill */
NULL, /* SelectFill */
0x41, /* Command */
NULL, /* SubItem */
NULL /* NextSelect */
};
struct IntuiText _Save____item_text = {
0,1, /* FrontPen, BackPen */
0, /* DrawMode(jam1) */
2,2, /* LeftEdge,TopEdge */
NULL, /* ITextFont */
" Save ", /* IText */
NULL, /* NextText */
};
struct MenuItem _Save____item = {
&_SaveAs__item, /* Next Item */
2,10,132,10, /* LeftEdge,TopEdge,Width,Height */
ITEMENABLED|HIGHCOMP|ITEMTEXT|COMMSEQ, /* Flags */
NULL, /* MutualExclude */
(APTR)&_Save____item_text, /* ItemFill */
NULL, /* SelectFill */
0x53, /* Command */
NULL, /* SubItem */
NULL /* NextSelect */
};
struct IntuiText _Open____item_text = {
0,1, /* FrontPen, BackPen */
0, /* DrawMode(jam1) */
2,2, /* LeftEdge,TopEdge */
NULL, /* ITextFont */
" Open ", /* IText */
NULL, /* NextText */
};
struct MenuItem _Open____item = {
&_Save____item, /* Next Item */
2,0,132,10, /* LeftEdge,TopEdge,Width,Height */
ITEMENABLED|HIGHCOMP|ITEMTEXT|COMMSEQ, /* Flags */
NULL, /* MutualExclude */
(APTR)&_Open____item_text, /* ItemFill */
NULL, /* SelectFill */
0x4f, /* Command */
NULL, /* SubItem */
NULL /* NextSelect */
};
struct Menu Project_menu = {
&_Misc_menu, /* Next Menu */
4,0,67,11, /* LeftEdge,TopEdge,Width,Height */
MENUENABLED, /* Flags */
"Project", /* MenuName */
&_Open____item /*FirstItem */
};
/********** End Project Menu **********/